/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utils;


import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import langresources.ResourcesController;

/**
 *
 * @author user1
 */
@ManagedBean
@RequestScoped
public class LanguageController {

    
    public LanguageController() {
    }
    
    public String reinit(String languageCode){
        ResourcesController.changeLanguage(languageCode);
        return "";
    }
 
}
